//
//  LYTest.m
//  Tools
//
//  Created by 吴浪 on 16/6/8.
//  Copyright © 2016年 吴浪. All rights reserved.
//

#import "LYTest.h"
#import "UIView+LYExt.h"

@implementation LYTest

- (instancetype)init {
    if (self = [super init]) {
        UIView *view = [UIView ly_ViewWithColor:[UIColor grayColor]];
        view.frame = CGRectMake(10, 10, 20, 60);
        [self addSubview:view];
    }
    return self;
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (void)prepareForInterfaceBuilder {
    UIView *view = [UIView ly_ViewWithColor:[UIColor redColor]];
    view.frame = CGRectMake(10, 10, 20, 60);
    [self addSubview:view];

}
@end
